package com.sz.virtualbank.web.vo.user;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;

/**
 * 登录请求视图对象
 * 
 * @author Claude
 */
@Data
@ApiModel(description = "登录请求参数")
public class LoginReqVO {
    
    @NotBlank(message = "用户名不能为空")
    @ApiModelProperty(value = "用户名/手机号", required = true)
    private String username;
    
    @NotBlank(message = "密码不能为空")
    @ApiModelProperty(value = "密码", required = true)
    private String password;
    
    @ApiModelProperty(value = "验证码")
    private String validCode;
    
    @ApiModelProperty(value = "记住我")
    private Boolean rememberMe;
}
